package com.tom.common;

public class Constans {

    public final static Integer SUCCESS = 1;  
    public final static Integer FAIL = 0;  
    //status的值
    public final static String STATUS_SUCCESS = "1";  
    public final static String STATUS_FAIL = "0";  
    //message的信息
    public final static String MESSAGE_USER_INSERT_SUCCESS = "用户创建成功";
    public final static String MESSAGE_USER_SAVE_SUCCESS = "用户保存成功";
    public final static String MESSAGE_USER_IS_EXIST = "用户已经存在";
    public final static String MESSAGE_USER_IS_NOT_EXIST = "用户不存在，请先注册";
    public final static String MESSAGE_USER_ENTER = "用户登录成功";
    public final static String MESSAGE_USER_PWD_IS_NOT_CORRECT = "用户密码不正确";
    public final static String MESSAGE_UPLOAD_FAIL = "上传失败";
    public final static String MESSAGE_UPLOAD_SUCCESS = "上传成功";
    public final static String MESSAGE_UPLOAD_UPDATE_SUCCESS = "上传更新成功";
    public final static String MESSAGE_ADD_MATCH_SUCCESS = "添加成功";
    public final static String MESSAGE_MATCH_SUCCESS = "匹配成功，请到消息中心查看详细信息";
    public final static String MESSAGE_DEL_MATCH_SUCCESS = "取消匹配成功";
    //用户的level
    public final static String LEVEL_ADMIN = "admin";
    public final static String LEVEL_MODEL = "2";
    public final static String LEVEL_PHOTOGRAPHER = "1";
    //上传图片地址
    public final static String PHOTO_DIR = "/img/";
    //图片有效的标志位
    public final static String PHOTO_TRUE = "1";
    //result标志,1是显示，0是不显示
    public final static String RESULT_SHOW_TRUE = "1";
    public final static String RESULT_SHOW_FALSE = "0";
    //邮件信息
    public final static String SEND_EMAIL = "718510857@qq.com";
    public final static String SEND_EMAIL_PWD = "ikyghsbrldyjbedh";
    //public final static String SEND_EMAIL = "2275736745@qq.com";
    //public final static String SEND_EMAIL_PWD = "vxoemalwjqejecja";
    public final static String EMAIL_SMTP = "smtp.qq.com";
    public final static String EMAIL_SMTP_PORT = "465";
    //数据库连接信息
    public final static String JDBC = "com.mysql.jdbc.Driver";
    public final static String JDBC_URL = "jdbc:mysql://localhost:3306/qss";
    public final static String USER = "root";
    public final static String PWD = "123456";
}
